package com.danco.training.zaneuskaya.repository;

import org.hibernate.HibernateException;

import com.danco.training.zaneuskaya.domain.Account;

/**
 * @author Zaneuskaya Aliaksandra
 *
 */
public interface AccountDao extends GenericDao<Account, Integer> {

	public Account login(String email, String password)
			throws HibernateException;

	public Account findAccountByLogin(String email) throws HibernateException;

}
